﻿#ifndef __HEADER_H__
#define __HEADER_H__


#include <iostream>
#include <Windows.h>
#include <cstring>
#include <wchar.h>
#define N_ROW_SUDOKU 10
#define BUFF_SIZE 1000


typedef int** Sudoku;

extern Sudoku sudoku;
extern int num_of_sudoku;//第几个数独表
extern int upper_limit_of_sudoku;
extern HANDLE h_sudoku_txt;
extern HANDLE h_sudoku_problem_txt;
extern Sudoku read_buff[BUFF_SIZE + 1];



extern void mallocSudoku(Sudoku& s);
extern void freeSudoku(Sudoku& s);
extern void closeTxt();
extern void showSudoku(Sudoku s);
extern void showHelp();
extern void copySudoku(const Sudoku& src, Sudoku& dst);

#endif